package com.ruoyi.consultation.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.TreeEntity;

/**
 * 咨询栏目对象 lab_consultation_subject
 * 
 * @author winner pan
 * @date 2022-03-28
 */
public class LabConsultationSubject extends TreeEntity<LabConsultationSubject> {
	private static final long serialVersionUID = 1L;

	/** 主键 */
	private Long subjectId;

	/** 主题名称 */
	@Excel(name = "主题名称")
	private String subjectName;
	
	private String codeOpt;
	
	public String getCodeOpt() {
		return codeOpt;
	}

	public void setCodeOpt(String codeOpt) {
		this.codeOpt = codeOpt;
	}

	/** 状态 */
	@Excel(name = "状态")
	private Long statusOpt;

	public void setSubjectId(Long subjectId) {
		this.subjectId = subjectId;
	}

	public Long getSubjectId() {
		return subjectId;
	}

	public void setSubjectName(String subjectName) {
		this.subjectName = subjectName;
	}

	public String getSubjectName() {
		return subjectName;
	}

	public void setStatusOpt(Long statusOpt) {
		this.statusOpt = statusOpt;
	}

	public Long getStatusOpt() {
		return statusOpt;
	}

	@Override
	public String toString() {
		return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("subjectId", getSubjectId())
				.append("parentId", getParentId()).append("subjectName", getSubjectName())
				.append("statusOpt", getStatusOpt()).toString();
	}
}
